package cn.wolfcode.crud.service;

import cn.wolfcode.crud.domain.Permission;
import cn.wolfcode.crud.qo.PageResult;
import cn.wolfcode.crud.qo.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IPermissionService {
    void delete(Long id);
    Permission get(Long id);
    List<Permission> listAll();
    PageInfo<Permission> query(QueryObject qo);

    void reload();

   List<String> selectByEmpId(Long id);
}
